<?php
/* @var $this AgendaKegiatanController */
/* @var $model AgendaKegiatan */
/* @var $form CActiveForm */
?>
<?php $this->beginWidget('ext.widgets.XPanel', array('title' => 'Agenda Kegiatans', 'width' => 900,'height' => 500)); 
?>
<div class="form">

<?php $form=$this->beginWidget('ext.CAxActiveForm', array(
	'id'=>'agenda-kegiatan-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>
    <table class="ma-table">
        <tbody>
	<tr>
		<td class="labelfield" style="width:200px"><?php echo $form->labelEx($model,'waktu_mulai'); ?>
</td>
		<td><?php echo CHtml::activeTextField($model,'waktu_mulai'); ?>
</td>
		<td><?php echo $form->error($model,'waktu_mulai'); ?>
</td>
	</tr>

	<tr>
		<td class="labelfield" style="width:200px"><?php echo $form->labelEx($model,'waktu_selesai'); ?>
</td>
		<td><?php echo CHtml::activeTextField($model,'waktu_selesai'); ?>
</td>
		<td><?php echo $form->error($model,'waktu_selesai'); ?>
</td>
	</tr>

	<tr>
		<td class="labelfield" style="width:200px"><?php echo $form->labelEx($model,'lokasi'); ?>
</td>
		<td><?php echo CHtml::activeTextField($model,'lokasi'); ?>
</td>
		<td><?php echo $form->error($model,'lokasi'); ?>
</td>
	</tr>

	<tr>
		<td class="labelfield" style="width:200px"><?php echo $form->labelEx($model,'catatan'); ?>
</td>
		<td><?php echo CHtml::activeTextField($model,'catatan'); ?>
</td>
		<td><?php echo $form->error($model,'catatan'); ?>
</td>
	</tr>

	<tr>
		<td class="labelfield" style="width:200px"><?php echo $form->labelEx($model,'id_kegiatan'); ?>
</td>
		<td><?php echo CHtml::activeTextField($model,'id_kegiatan'); ?>
</td>
		<td><?php echo $form->error($model,'id_kegiatan'); ?>
</td>
	</tr>

	<tr>
		<td class="labelfield" style="width:200px"><?php echo $form->labelEx($model,'id_pegawai'); ?>
</td>
		<td><?php echo CHtml::activeTextField($model,'id_pegawai'); ?>
</td>
		<td><?php echo $form->error($model,'id_pegawai'); ?>
</td>
	</tr>

	<tr>
		<td></td>
                <td><?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save', array('class'=>'ax-btn')); ?>
</td>
                <td></td>
	</tr>
        </tbody>
    </table>
<?php $this->endWidget(); ?>

</div><!-- form -->
<?php $this->endWidget(); ?>